package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.List;

/**
 * 内容管理对象 yz_content
 * 
 * @author ruoyi
 * @date 2024-03-28
 */
public class YzContent extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 内容的id主键 */
    private Long contentId;

    /** 内容的标题 */
    @Excel(name = "内容的标题")
    private String contentTitle;

    /** 内容的最后一级分类 */
    private Long contentClassify;

    /** 内容的封面 */
    @Excel(name = "内容的封面")
    private String contentPicture;

    /** 内容的主要内容 */
    private String contentText;

    /** 内容链接 */
    private String contentPath;

    /** 0上架，1下架 */
    private Long contentState;

    private Long contentType;

    private List<Long> contentClassifys;

    private Long contentClick;

    public Long getContentClick() {
        return contentClick;
    }

    public void setContentClick(Long contentClick) {
        this.contentClick = contentClick;
    }

    public Long getContentType() {
        return contentType;
    }

    public void setContentType(Long contentType) {
        this.contentType = contentType;
    }

    public List<Long> getContentClassifys() {
        return contentClassifys;
    }

    public void setContentClassifys(List<Long> contentClassifys) {
        this.contentClassifys = contentClassifys;
    }

    public void setContentId(Long contentId)
    {
        this.contentId = contentId;
    }

    public Long getContentId() 
    {
        return contentId;
    }
    public void setContentTitle(String contentTitle) 
    {
        this.contentTitle = contentTitle;
    }

    public String getContentTitle() 
    {
        return contentTitle;
    }
    public void setContentClassify(Long contentClassify) 
    {
        this.contentClassify = contentClassify;
    }

    public Long getContentClassify() 
    {
        return contentClassify;
    }
    public void setContentPicture(String contentPicture) 
    {
        this.contentPicture = contentPicture;
    }

    public String getContentPicture() 
    {
        return contentPicture;
    }
    public void setContentText(String contentText) 
    {
        this.contentText = contentText;
    }

    public String getContentText() 
    {
        return contentText;
    }
    public void setContentPath(String contentPath) 
    {
        this.contentPath = contentPath;
    }

    public String getContentPath() 
    {
        return contentPath;
    }
    public void setContentState(Long contentState) 
    {
        this.contentState = contentState;
    }

    public Long getContentState() 
    {
        return contentState;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("contentId", getContentId())
            .append("contentTitle", getContentTitle())
            .append("contentClassify", getContentClassify())
            .append("contentPicture", getContentPicture())
            .append("contentText", getContentText())
            .append("contentPath", getContentPath())
            .append("contentState", getContentState())
            .append("createTime", getCreateTime())
            .toString();
    }
}
